package cn.bitkit.component.sensitive;

import cn.bitkit.base.annotation.Sensitive;

/**
 * @author changbo
 */
public interface BaseSensitiveService {

    String encrypt(String data, Sensitive sensitive);

    String decrypt(String data, Sensitive sensitive);

    String hash(String data, Sensitive sensitive);

    String mask(String data, Sensitive sensitive);

}
